from ronglian_sms_sdk import SmsSDK

accId = '2c94811c93863e4f0193f694a8be16ea'
accToken = '4a1e0e92df27480b91ea6f8810a1c494'
appId = '2c94811c93863e4f0193f694aa5316f1'

def send_message(mobile,code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = mobile
    datas = (code,)
    resp = sdk.sendMessage(tid, mobile, datas)
    return resp
# send_message("18119141389",'1234')